<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=0, viewport-fit=cover" />
	<title>Person2</title>
</head>
<body>
<script>
var Person = function (name, age) {
	const o = {};
	o.name = name;
	o.age = age
	o.run = function () {
		console.log(`${ o.name }在跑步`)
	};
	console.log(`this-------`, this)
	return o;
};

const person1 = window.Person('董锐', 18)
const person2 = window.Person('亢旭明', 19)

person1.run();
person2.run();

console.log(person1.run === person2.run)

</script>
</body>
</html>
